package bosc.cn.converter.loan;

import bosc.cn.dto.loan.LoanApprovalResDTO;
import bosc.cn.service.loan.bo.LoanApprovalResBO;

public class LoanApprovalResConverter {

    public static LoanApprovalResDTO toDTO(LoanApprovalResBO bo) {
        if (bo == null) {
            return null;
        }
        LoanApprovalResDTO dto = new LoanApprovalResDTO();
        dto.setPrcSts(bo.getPrcSts());
        dto.setPrcMsg(bo.getPrcMsg());

        return dto;
    }
}
